﻿// -----------------------------------------------------------------------
// <copyright file="KeyedCollection.cs" company="">
// TODO: Update copyright text.
// </copyright>
// -----------------------------------------------------------------------

namespace NetFramework.Collection
{
    using System;
    using System.Collections.ObjectModel;

    /// <summary>
    /// TODO: Update summary.
    /// </summary>
    public class KeyedCollection<T> : KeyedCollection<string, T>
        where T : IKeyedObject
    {
        protected override string GetKeyForItem(T item)
        {
            return item.Key;
        }
    }
}
